<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jstl/core"
	xmlns:rg="http://www.ruijie.com.cn/faces/ui"
	template="/member/layout/contentLayout.xhtml">

	<!-- 页面标题 -->
	<ui:param name="param_pageTitle" value="路远商城->我的订单" />
	<ui:param name="myOrder" value="true" />

	<ui:define name="navigation">
		<a href="http://www.luyuansc.com/">路远商城</a> 
		&gt; 
		我的订单
	</ui:define>
	
	<ui:define name="jsScripts">
		<script src="#{facesContext.externalContext.requestContextPath}/js/table.js" type="text/javascript"></script>
	</ui:define>
	<ui:define name="content">
		<div class="main clear">
			<div class="sidebar">
				<ui:include src="layout/nav.xhtml" />
			</div>
			<div class="middle">
				<h:form>
                    <rg:table id="orderTable" value="#{orderMemberAction.orderTableModel}"
                        var="item">
                        <rg:column property="id" title="订单号"/>
						<rg:column property="orderType" title="订单类型"  converter="#{orderTypeConverter}" />
						<rg:column property="orderStatus" title="订单状态" converter="#{orderStatusConverter}" />
						<rg:column property="delivery.deliveryDate" title="发货时间" converter="#{dateConverter}" datePattern="yyyy-MM-dd" />
                        <rg:column property="oldAmount" title="产品金额"/>
                        <rg:column property="amount" title="实付金额"/>
						<rg:column type="oper" title="#{messages.luyuan_crm_operator}">
							<ul class="links">
								<li><a
									href="#{ctx}/member/myOrderDetail.jsf?id=#{item.id}"
									>详细订单</a></li>
							</ul>
						</rg:column>
                    </rg:table>
				</h:form>
			</div>
		</div>	
	</ui:define>

</ui:composition>